﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ForumEdit.aspx.cs" Inherits="SysManage.Module.Forum.ForumEdit" %>

<!DOCTYPE html>

<html>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server" style="background-color: #0000FF">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:Panel ID="Panel1" ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server">
            <Items>
                <f:SimpleForm ID="SimpleForm1" ShowBorder="false" ShowHeader="false" runat="server"
                    BodyPadding="10px" Title="SimpleForm">
                    <Items>
                        <f:TextBox ID="txtTitle" runat="server" Label="版块名称" LabelAlign="right" LabelWidth="100px" Required="true" ShowRedStar="true" RequiredMessage="请填写版块名称">
                        </f:TextBox>
                        <f:DropDownList ID="ddlTitleID" runat="server" Label="上级版块" LabelAlign="right" LabelWidth="100px"  Required="true" ShowRedStar="true" RequiredMessage="请选择所属论坛">
                        </f:DropDownList>
                        <f:TriggerBoxPicker runat="server" ID="ppAdmin" EnableTrigger1PostBack="false" ShowTrigger1="true" ShowTrigger2="true" Trigger1Icon="Clear" EnableEdit="false"
                            WindinsTitle="选择版主" WindinsHeight="500px" WindinsWidth="750px" WindinsUrl="../../../Share/Picker/MemberMultiplePicker.aspx" Label="版主" LabelAlign="right"
                            LabelWidth="100px">
                        </f:TriggerBoxPicker>
                       
                        <f:RadioButtonList ID="rbShowIndex" runat="server" Label="论坛首页展示" LabelAlign="right"  LabelWidth="100px">
                           
                            <f:RadioItem Text="是" Value="1" Selected="true" /> <f:RadioItem Text="否" Value="0" />
                        </f:RadioButtonList>
                        <f:FileUpload runat="server" LabelAlign="right" EmptyText="请选择一张图片" ID="filePhoto"
                            Label="论坛图片" LabelWidth="100px" ButtonText="图片" ButtonIcon="ImageAdd" AutoPostBack="true" OnFileSelected="filePhoto_FileSelected" AcceptFileTypes="image/*">
                        </f:FileUpload>
                        <f:Image ID="imgPhoto" ImageUrl="../../../../Resource/themes/default/images/Party/Party-Emblem.jpg" Width="300px" ImageWidth="261" ImageHeight="167" CssStyle="margin-left:90px;" runat="server">
                        </f:Image>
                        <f:NumberBox runat="server" ID="txtOrderno" MinValue="0" LabelAlign="right" Label="序号"  LabelWidth="100px" ></f:NumberBox>
                        <f:TextArea ID="txtDec" Label="描述" runat="server" LabelAlign="right" LabelWidth="100px">
                        </f:TextArea>
                        <f:HiddenField ID="hdImageId" runat="server"></f:HiddenField>
                    </Items>
                </f:SimpleForm>
            </Items>
            <Toolbars>
                <f:Toolbar ID="Toolbar1" runat="server" Position="Bottom" ToolbarAlign="Center">
                    <Items>
                        <f:Button ID="btnSaveClose" ValidateForms="SimpleForm1" Icon="SystemSaveClose" OnClick="btnSaveClose_Click" runat="server" Text="保存并关闭">
                        </f:Button>
                        <f:ToolbarSeparator ID="ToolbarSeparator2" runat="server">
                        </f:ToolbarSeparator>
                        <f:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server" Text="关闭">
                        </f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>
        </f:Panel>
    </form>
</body>
</html>
